﻿using MediatR;
using SmartProduction.Domain.采购委外订单;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.ProcessRouteCommand
{
    public class ProcessRouteQueryCommand:IRequest<APIPaing<List<ProcessRoute>>>
    {
        /// <summary>
        /// 工艺编码
        /// </summary>
        public string? ProcessCod { get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public string? Material { get; set; }
        /// <summary>
        /// 状态(有效/无效)
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 15;
    }
}
